package com.niuwa.p2p.entity.yeepay.supple;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.niuwa.p2p.entity.yeepay.YeePayLoginRequest;

@XmlRootElement(name = "request")
@XmlAccessorType(XmlAccessType.FIELD)
public class YeePayDirectTransactionRequest extends YeePayLoginRequest {

	private String platformUserNo; //出款人用户编号，目前只支持传入平台商户编号 [必须]

	private String userType;  //出款人用户类型，目前只支持传入 MERCHANT [已封装]

	private String bizType;   // 目前只支持传入 TRANSFER  [已封装]

	@XmlElement(name = "detail")
	private DirectTransactionDetail detail;  //资金明细记录  [必须]
	
	
	public YeePayDirectTransactionRequest(){
		
	}

	/**
	 * @param platformUserNo
	 * @param detail
	 */
	public YeePayDirectTransactionRequest(String platformUserNo, DirectTransactionDetail detail) {
		this.platformUserNo = platformUserNo;
		this.detail = detail;
	}

	public String getPlatformUserNo() {
		return platformUserNo;
	}

	public void setPlatformUserNo(String platformUserNo) {
		this.platformUserNo = platformUserNo;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	public String getBizType() {
		return bizType;
	}

	public void setBizType(String bizType) {
		this.bizType = bizType;
	}

	public DirectTransactionDetail getDetail() {
		return detail;
	}

	public void setDetail(DirectTransactionDetail detail) {
		this.detail = detail;
	}
}
